//
//  WBHomeViewController.swift
//  WeiBo
//
//  Created by zqq on 2017/7/20.
//  Copyright © 2017年 qq. All rights reserved.
//

import UIKit

class WBHomeController: WBBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

    }
    
    @objc func showFriends(){
        print(#function)
        let vc  = WBDemoVC()
        vc.hidesBottomBarWhenPushed = true
        navigationController?.pushViewController(vc, animated: true)
    }
}



// MARK: - sss
extension WBHomeController{
    
    override func setupUI(){
        super.setupUI()
        
        navigationItem.leftBarButtonItem = UIBarButtonItem(title: "好友", target: self, action: #selector(showFriends))
        
    }
    
}

